﻿#ifndef SCROLLSPEEDWIDGET_H
#define SCROLLSPEEDWIDGET_H

#include <QWidget>
#include "DataInfo.h"
#include <QVector>

namespace Ui {
class ScrollSpeedWidget;
}
class SpeedWidget;

class ScrollSpeedWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ScrollSpeedWidget(QWidget *parent = nullptr);
    ~ScrollSpeedWidget();

    void setGroupIDAndSensor(int iID, const QList<Sensor>& listSensor, int& maxValue);
    void setMaxValue(int maxValue);

private:
    Ui::ScrollSpeedWidget *ui;
    QVector<SpeedWidget*> _vecSpeedWidget;
};

#endif // SCROLLSPEEDWIDGET_H
